﻿using System.Management;

namespace HybridLab.Virtual.HyperV
{
	public enum ReturnCode : uint
	{
		Completed = 0,
		Started = 4096,
		Failed = 32768,
		AccessDenied = 32769,
		NotSupported = 32770,
		Unknown = 32771,
		Timeout = 32772,
		InvalidParameter = 32773,
		SystemInUser = 32774,
		InvalidState = 32775,
		IncorrectDataType = 32776,
		SystemNotAvailable = 32777,
		OutofMemory = 32778
	}

    internal class InvokeResult
    {
        public Job Job { get; internal set; }
        public ReturnCode ReturnCode { get; internal set; }
        public PropertyDataCollection OutParameters { get; internal set; }
    }
}
